<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>

<div id="app">
    <ul>
        <li v-for="item in message">{{item}}</li>
    </ul>
</div>

<div id="app2">
    <h2>当前计数：{{counter}}</h2>
    <button v-on:click="counter++">+</button>
    <button v-on:click="counter--">-</button>
</div>

</body>
<script>
    const vue = new Vue({
        el: '#app',
        data: {
            message: ['CSGO','CSOL','LOL','DIDIDI']
        }
    });
    new Vue({
        el: '#app2',
        data: {
            counter: 0
        }
    })
</script>
</html>